XCOMM $XConsortium: Imakefile /main/6 1996/01/21 14:32:46 kaleb $





XCOMM $XFree86: xc/programs/Xserver/hw/xfree98/doc/Imakefile,v 3.4 1996/01/20 02:48:46 dawes Exp $

#include <Server.tmpl>
#if 0
#include <lnxdoc.rules>
#endif

#if HasLinuxDoc || InstallJapaneseDocs
#define IHaveSubdirs
#endif

#if HasLinuxDoc
SGMLDIR = sgml
#endif

#if InstallJapaneseDocs
JAPANESEDIR = Japanese
#endif

SUBDIRS = $(SGMLDIR) $(JAPANESEDIR)

#if !BuildLinuxDocText
/* FreeBSD's README is handled separately because of name length limits */
#ifdef BSD386Architecture
OSREADME = README.Bsdi
#endif
#ifdef FreeBSDArchitecture
OSREADME = README.FreeBSD
#endif
#ifdef NetBSDArchitecture
OSREADME = README.NetBSD
#endif
#ifdef i386MachArchitecture
OSREADME = README.Mach
#endif
#ifdef LinuxArchitecture
OSREADME = README.Linux
#endif
#ifdef LynxOSArchitecture
OSREADME = README.LynxOS
#endif
#ifdef MinixArchitecture
OSREADME = /* README.Minix */
#endif
#ifdef AmoebaArchitecture
OSREADME = /* README.Amoeba */
#endif
#ifdef SVR3Architecture
# ifdef i386ScoArchitecture
OSREADME = README.SCO /* README.SVR3 */
# else
#  ifdef i386IscArchitecture
OSREADME = README.isc /* README.SVR3 */
#  else
OSREADME = /* README.SVR3 */
#  endif
# endif
#endif
#ifdef SVR4Architecture
# ifdef SunArchitecture
OSREADME = README.SOLX86
# else
OSREADME = README.SVR4
# endif
#endif
#endif /* !BuildLinuxDocText */
/* There is no .sgml version of README.OS2 yet */
#ifdef OS2Architecture
OSREADME = README.OS2
#endif

#if XFree86Version % 10
REPORTFORM = BetaReport
#endif

all::

#if !BuildLinuxDocText
HWREADME =  README.ati README.trident README.tseng README.WstDig \ 
            README.cirrus README.Video7 README.P9000 README.agx \
            README.S3 README.W32 README.Oak README.Mach64 README.ark

MAINDOCS = COPYRIGHT README README.Config INSTALL RELNOTES

OTHERDOCS = /*VideoModes.doc*/ QuickStart.doc README.clkprog
#endif

MISCDOCS = ServersOnly LbxproxyOnly $(REPORTFORM) README.DGA

DATABASE = /*modeDB.txt*/ AccelCards Monitors Devices

FILES = $(MAINDOCS) $(OSREADME) $(HWREADME) $(OTHERDOCS) $(MISCDOCS) $(DATABASE)

#ifndef DontInstallPC98Version
InstallMultipleDest(install,$(FILES),$(XFREE86DOCDIR))
#endif

LinkSourceFile(AccelCards,$(XF86SRC)/doc)
LinkSourceFile(BetaReport,$(XF86SRC)/doc)
LinkSourceFile(COPYRIGHT,$(XF86SRC)/doc)
LinkSourceFile(Devices,$(XF86SRC)/doc)
LinkSourceFile(INSTALL,$(XF86SRC)/doc)
LinkSourceFile(LbxproxyOnly,$(XF86SRC)/doc)
LinkSourceFile(Monitors,$(XF86SRC)/doc)
LinkSourceFile(OS2.Notes,$(XF86SRC)/doc)
LinkSourceFile(QuickStart.doc,$(XF86SRC)/doc)
LinkFile(README.FreeBSD,$(XF86SRC)/doc/READ.FreeBSD)
LinkSourceFile(README,$(XF86SRC)/doc)
LinkSourceFile(README.Bsdi,$(XF86SRC)/doc)
LinkSourceFile(README.Config,$(XF86SRC)/doc)
LinkSourceFile(README.DGA,$(XF86SRC)/doc)
LinkSourceFile(README.Linux,$(XF86SRC)/doc)
LinkSourceFile(README.LynxOS,$(XF86SRC)/doc)
LinkSourceFile(README.Mach,$(XF86SRC)/doc)
LinkFile(README.Mach64,$(XF86SRC)/doc/READ.Mach64)
LinkSourceFile(README.NetBSD,$(XF86SRC)/doc)
LinkSourceFile(README.OS2,$(XF86SRC)/doc)
LinkSourceFile(README.Oak,$(XF86SRC)/doc)
LinkSourceFile(README.P9000,$(XF86SRC)/doc)
LinkSourceFile(README.S3,$(XF86SRC)/doc)
LinkSourceFile(README.SCO,$(XF86SRC)/doc)
LinkSourceFile(README.SOLX86,$(XF86SRC)/doc)
LinkSourceFile(README.SVR4,$(XF86SRC)/doc)
LinkSourceFile(README.Video7,$(XF86SRC)/doc)
LinkSourceFile(README.W32,$(XF86SRC)/doc)
LinkSourceFile(README.WstDig,$(XF86SRC)/doc)
LinkSourceFile(README.agx,$(XF86SRC)/doc)
LinkSourceFile(README.ark,$(XF86SRC)/doc)
LinkSourceFile(README.ati,$(XF86SRC)/doc)
LinkSourceFile(README.cirrus,$(XF86SRC)/doc)
LinkSourceFile(README.clkprog,$(XF86SRC)/doc)
LinkSourceFile(README.isc,$(XF86SRC)/doc)
LinkSourceFile(README.trident,$(XF86SRC)/doc)
LinkSourceFile(README.tseng,$(XF86SRC)/doc)
LinkSourceFile(RELNOTES,$(XF86SRC)/doc)
LinkSourceFile(ServersOnly,$(XF86SRC)/doc)
LinkSourceFile(VideoModes.doc,$(XF86SRC)/doc)
LinkSourceFile(modeDB.txt,$(XF86SRC)/doc)

#ifdef IHaveSubdirs
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

